<?php

class RecipesLikesDislikes extends Eloquent {
	
	protected $table = 'recipes_likes_dislikes';
	
	public $timestamps = false;
	
	/**
	 * Relations
	 */
        
        /**
	 * Util
	 */
	public function isLike(){
		return $this->like == '1' ? true : false; 
	}
	
	public function isDislike(){
		return $this->like == '0' ? true : false;
	}
	
}
